package com.elong.android.specialhouse.dialogutil;


import android.content.Context;
import android.view.View;

import com.elong.android.specialhouse.R;


public class HttpLoadingDialog extends BaseHttpDialog {

	public HttpLoadingDialog(Context context) {
		super(context);

		mainView.findViewById(R.id.dialog_close_button).setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				request.cancel();
				dismiss();
			}
		});
	}

	@Override
	public void setParentView() {
		parentViewId = R.layout.dialog_loading;
	}

}
